home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Now 11
/
CD-ROM Now MegaDisc 11 (1995-02).iso
/
discs
/
linux
/
finstall.bat
< prev
next >
Wrap
DOS Batch File
|
1994-11-01
|
893b
|
37 lines
ECHO OFF
CLS
:START
echo Preparing to create 1.44 megabyte boot floppies for Plug and Play Linux
echo Please use the Cursor Keys to make a menu selection.
\utils\DOMENUT \discs\linux\bootflop\INSTALL.MNU
IF ERRORLEVEL 4 GOTO Exit
IF ERRORLEVEL 3 GOTO boot_12
IF ERRORLEVEL 2 GOTO boot_720
IF ERRORLEVEL 1 GOTO readme
GOTO START
:readme
\view \discs\linux\readme
goto START
:boot_12
set FLOPPY=boot_12.flp
goto DRIVES
:boot_720
set FLOPPY=boot_720
goto DRIVES
:DRIVES
echo Setting up for %FLOPPY% floppy...
\utils\DOMENUT \discs\linux\bootflop\DRIVES.MNU
IF ERRORLEVEL 3 goto EXIT
IF ERRORLEVEL 2 goto FLOPPYB
IF ERRORLEVEL 1 goto FLOPPYA
GOTO DRIVES
:FLOPPYA
format /q /v:linux a:
\utils\rawrite \discs\linux\bootflop\%FLOPPY% A:
goto EXIT
:FLOPPYB
format /q /v:linux b:
\utils\rawrite \discs\linux\bootflop\%FLOPPY% B:
goto EXIT
:EXIT
cls